package com.状态模式.state1;

/**
 * 具体状态：申请退款
 */
public class ServiceRequestRefundImpl extends AbstractStateImpl{

    /**
     * 申请退款我们可以修改退款成功
     * @param context
     */
    @Override
    public void refundSuccess(Context context) {
        context.setStateInterface(new ServiceRefundSuccessImpl());
    }

    @Override
    public String getCurrentState() {
        return StateEnum.requestRefund.getDesc();
    }
}
